<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>
<script>
    alert("hello js");
    setTimeout(() => {
        console.log("time out");
    }, 3000)

    window.alert(1);
    //window顶层对象 可以缺省
    //Buffer库为Node.js带来了一种存储原始数据的方法 处理二进制数据
</script>

</html>